package demo.model
{
	import demo.events.DemoMapEvent;
	import demo.vo.SceneVO;
	
	import flash.events.EventDispatcher;

	public class SceneModel extends EventDispatcher
	{
		private var _sceneVO:SceneVO=new SceneVO();
		private var _mapConfigPath:String;
		
		public function SceneModel()
		{
		}

		public function get sceneVO():SceneVO
		{
			return _sceneVO;
		}

		public function set sceneVO(value:SceneVO):void
		{
			_sceneVO = value;
		}

		/**
		 *地图xml文件路径 
		 */
		public function get mapConfigPath():String
		{
			return _mapConfigPath;
		}

		/**
		 *地图xml文件路径 
		 */
		public function set mapConfigPath(value:String):void
		{
			_mapConfigPath = value;
			dispatchEvent(new DemoMapEvent(DemoMapEvent.MAP_CONFIG_PATH_CHANGE));
		}
	}
}